<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
    <head>
        <title></title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <base href="<?= base_url(1); ?>" />
        <link type="text/css" href="css/main.css?v=<?= $config['version'] ?>" rel="stylesheet" />
    </head>
    <body>
        <?php include(VIEWPATH . 'common/main_header.php'); ?>
        <div class="datalist"><table id="flexigrid" style="display:none"></table></div>
        <script type="text/javascript">
            $(function() {
                $("#flexigrid").flexigrid($.extend(SG.flexOptions, {
                    url: '<?= site_url('logother/taskguide/flexigrid') ?>',
                    colModel: [
                        //通用数据
                        {display: '<?= translate('LOGOTHER_ROLEID') ?>', name: 'role_id', width: '100', process: formatSearch},
						{display: '<?= translate('LOGOTHER_PLATFORM_ID') ?>', name: 'platform_id', width: '100', hide:true},
                        {display: '<?= translate('LOGOTHER_DITCH_ID') ?>', name: 'ditch_id', width: '100', hide:true},
                        {display: '<?= translate('LOGOTHER_VERSION') ?>', name: 'version', width: '100', hide:true},
                        {display: '<?= translate('LOGOTHER_SERVER_ID') ?>', name: 'server_id', width: '100', hide:true}, 
                        {display: '<?= translate('LOGOTHER_ACCOUNT_ID') ?>', name: 'account_id', width: '100', process: formatSearch,hide:true},
                        {display: '<?= translate('LOGOTHER_PROFESSION_TYPE') ?>', name: 'profession_type', width: '100'},
                        
                        {display: '<?= translate('LOGOTHER_TASK_ID') ?>', name: 'task_id', width: '150'},
                        {display: '<?= translate('LOGOTHER_TASK_STATE') ?>', name: 'task_state', width: '150'},
                        
                        {display: '<?= translate('LOGOTHER_OPERATION_TIME') ?>', name: 'operation_time', width: '150'},
                    ],
                  
		  			buttons: [ {separator: true},],
                }));
               
            });    
        </script>
    </body>
</html>